package software_construction.PatternProject.d2_factory.demo3;

import software_construction.PatternProject.d2_factory.demo3.cpu.Cpu;
import software_construction.PatternProject.d2_factory.demo3.factory.CpuFactory;

public class ComputerStore {
    public Cpu orderCpu(CpuFactory cpuFactory){
        Cpu cpu = cpuFactory.createCpu();
        cpu.calculate();
        return cpu;
    }
}
